package com.rc.saas.tenant.transfers.alipay.vo;


import com.rc.saas.tenant.base.BaseVo;

import java.math.BigDecimal;

/**
 * 用于向指定支付宝账户转账,alipay.fund.trans.uni.transfer
 * https://opendocs.alipay.com/open/309/106237
 * Created by Sven on 2021/01/22
 */
public class AlipayTransPayWalletVo extends BaseVo {
    private String accountType;

    private String alipayUserId;

    private String alipayUserName;

    private String withdrawType;

    private String applySource;

    private String withdrawBy;

    //订单总金额，单位为元，精确到小数点后两位，取值范围[0.1,100000000]。
    private BigDecimal transAmount;

    //申请单ID
    private Long withdrawApplyId;

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getAlipayUserId() {
        return alipayUserId;
    }

    public void setAlipayUserId(String alipayUserId) {
        this.alipayUserId = alipayUserId;
    }

    public String getAlipayUserName() {
        return alipayUserName;
    }

    public void setAlipayUserName(String alipayUserName) {
        this.alipayUserName = alipayUserName;
    }

    public String getWithdrawType() {
        return withdrawType;
    }

    public void setWithdrawType(String withdrawType) {
        this.withdrawType = withdrawType;
    }

    public String getApplySource() {
        return applySource;
    }

    public void setApplySource(String applySource) {
        this.applySource = applySource;
    }

    public String getWithdrawBy() {
        return withdrawBy;
    }

    public void setWithdrawBy(String withdrawBy) {
        this.withdrawBy = withdrawBy;
    }

    public BigDecimal getTransAmount() {
        return transAmount;
    }

    public void setTransAmount(BigDecimal transAmount) {
        this.transAmount = transAmount;
    }

    public Long getWithdrawApplyId() {
        return withdrawApplyId;
    }

    public void setWithdrawApplyId(Long withdrawApplyId) {
        this.withdrawApplyId = withdrawApplyId;
    }

    @Override
    public String toString() {
        return "AlipayTransPayWalletVo{" +
                "accountType='" + accountType + '\'' +
                ", alipayUserId='" + alipayUserId + '\'' +
                ", alipayUserName='" + alipayUserName + '\'' +
                ", withdrawType='" + withdrawType + '\'' +
                ", applySource='" + applySource + '\'' +
                ", withdrawBy='" + withdrawBy + '\'' +
                ", transAmount=" + transAmount +
                ", withdrawApplyId=" + withdrawApplyId +
                '}';
    }
}
